package com.cloud.api.domain.sys;

import com.cloud.mybatis.domain.PageModelNew;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "UserInformationQuery" )
public class UserInformationQuery extends PageModelNew {

    private static final long serialVersionUID = 1L;

    @Schema(description = "手机号")
    private String contact;

    @Schema(description = "性别")
    private String gender;

    @Schema(description = "出生日期开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date birthStartDate;

    @Schema(description = "出生日期结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date birthEndDate;

    @Schema(description = "创建开始时间")
    private LocalDateTime createStartTime;

    @Schema(description = "创建结束时间")
    private LocalDateTime createEndTime;
}
